#define  _CRT_SECURE_NO_WARNINGS 1	
#include <stdio.h>
#include<math.h>
int main() {
    int a, b, c;
    scanf("%d %d %d", &a, &b, &c);
    float sum = a + b + c;
    float p = sum / 2;
    float area = sqrt(p * (p - b) * (p - c) * (p - a));
    printf("circumference=%.2f area=%.2f", sum, area);
    return 0;
}